﻿{extend name="public:base" /}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">

                <div class="ibox-content">
                    <div class="row search-form">
                        <div class="col-sm-2 m-b-sm">
                            <div class="input-group">
                                <button type="button" class="btn btn-primary btn-lg excel-btn">导出</button>
                            </div>
                        </div>
                    </div>

                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th max-width="11%">档数</th>
                                <th max-width="11%">结算周期</th>
                                <th max-width="11%">周期平台总业绩</th>
                                <th max-width="11%">结算比例</th>
                                <th max-width="11%">结算金额</th>
                                <th max-width="11%">叠算总金额</th>
                                <th max-width="11%">每人平均叠算金额</th>
                                <th max-width="23%">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="list" id="vo"}
                            <tr>
                                <td>{$vo.gear|doGear}</td>
                                <td>{$vo.year}-{$vo.month}</td>
                                <td>{$vo.all_price}元</td>
                                <td>{$vo.rate}%</td>
                                <td>{$vo.all_price * $vo.rate / 100}元</td>
                                <td>{$vo.all_retire_price}元</td>
                                <td>{$vo.retire_price}元</td>
                                <td>
                                    <a href="{:url('retireFundDetail', ['id' => $vo.id])}" class="btn btn-white btn-sm">
                                        <i class="fa fa-edit"></i> 查看详情
                                    </a>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                        {if !empty($list->items())}{$list->render()}{/if}
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>

{/block}

